By counting the desired entities in Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, Entities, this inversion control method handles the request to count all TEntity entities in compliance with the filtering criteria.

Namespace: Keystone.Carbonite.Entity
Assembly: Keystone.Carbonite.Entity (in Keystone.Carbonite.Entity.dll)

protected override int OnCount( 
Func<TEntity, bool> filteringCriteria 
)
This language is not supported or no code example is available.

Parameters

filteringCriteria

Type: Func<TEntity, bool>

The filtering criteria.

Return Value

The number of entities in compliance with the TFilteringCriteria.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono